<?
header('Content-Type:application/json;charset=UTF-8');
include("../../com/website_config.php");
$sql="select * from ms_onepage";
$array=array();
$result=$db->query($sql);
$rw=mysql_num_rows($result);

$i=0;
if($rw==""){
    echo "暂时还没有信息!";
}else{
    while($p=mysql_fetch_array($result)){
        $array[$i]=$p["one_pagecontent"];
        $i++;
        if($i>=2) break;
    }
}


echo json_encode($array);

?>